package com.alibaba.algo.components.yapi.vo;

import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class InterfaceRequestVO {
	private String token;
	@JSONField(name = "req_query")
	private List<ReqQuery> reqQuery;
	@JSONField(name = "req_headers")
	private List<ReqHeaders> reqHeaders;
	@JSONField(name = "req_body_form")
	private List<ReqBodyForm> reqBodyForm;
	@JSONField(name = "req_params")
	private List<ReqParamsRequestVO> reqParams;

	private String method;
	private String desc;
	private String title;
	private Integer catid;
	private String path;
	private String status;
	@JSONField(name = "res_body_type")
	private String resBodyType;
	@JSONField(name = "res_body")
	private String resBody;
	@JSONField(name = "switch_notice")
	private boolean switchNotice;
	private Integer id;
	@JSONField(name = "req_body_type")
	private String reqBodyType;
	@JSONField(name = "req_body_other")
	private String reqBodyOther;
	@JSONField(name = "req_body_is_json_schema")
	private boolean reqBodyIsJsonSchema;
	@JSONField(name = "res_body_is_json_schema")
	private boolean resBodyIsJsonSchema;
}
